package com.luohoufa.ms.product.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(value = "商品实体")
@Data
public class ProductInfoVo {

    @ApiModelProperty(value = "商品id")
    @JsonProperty("id")
    private String productId;
    @ApiModelProperty(value = "商品名称")
    @JsonProperty("name")
    private String productName;
    @ApiModelProperty(value = "商品价格")
    @JsonProperty("price")
    private BigDecimal productPrice;
    @ApiModelProperty(value = "商品描述")
    @JsonProperty("description")
    private String productDescription;
    @ApiModelProperty(value = "商品图片")
    @JsonProperty("icon")
    private String productIcon;

}
